package ru.fadeev.crammer;

import java.util.EventListener;


/**
 * TestNeedsListener defines the interface for object that listens for
 * needToTest event.
 * @author Konstantin Fadeyev
 *
 */
public interface TestNeedsListener extends EventListener {
	
	/**
	 * Called when there are enough untested words of test specified by 
	 * 'testType' to start testing.
	 * @param testType test type
	 */
	public void needToTest(int testType);
}
